@include b(card) {
  background-color: var(--#{$rd-prefix}background-color);
  border-radius: var(--#{$rd-prefix}border-radius);
  transition: box-shadow var(--#{$rd-prefix}animation-duration-base) linear;

  @include m(border) {
    border: 1px solid var(--#{$rd-prefix}color-border);
  }

  @include m(shadow) {
    box-shadow: 0 2px 8px 0 var(--#{$rd-prefix}shadow-color);
  }

  @include m(shadow-hover) {
    &:hover {
      box-shadow: 0 2px 8px 0 var(--#{$rd-prefix}shadow-color);
    }
  }

  @include e(header) {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--#{$rd-prefix}color-border);
  }

  @include e(header-title) {
    @include utils-ellipsis;

    flex: 1 0 0;
    font-size: 1.1em;
    font-weight: $rd-font-weight-bold;
  }

  @include e(header-action) {
    margin-left: 10px;
  }

  @include e(content) {
    position: relative;
    padding: 16px;
  }

  @include e(actions) {
    display: flex;
    height: 48px;
    border-top: 1px solid var(--#{$rd-prefix}color-border);
  }

  @include e(action) {
    display: inline-flex;
    flex: 1 0 0;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font: inherit;
    color: var(--#{$rd-prefix}text-color-sub);
    vertical-align: top;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    transition: color var(--#{$rd-prefix}animation-duration-base) linear;
    appearance: none;

    &:hover,
    &:focus {
      color: var(--#{$rd-prefix}color-primary-lighter);
    }

    &[disabled] {
      color: var(--#{$rd-prefix}color-disabled);
      pointer-events: none;
    }
  }
}
